import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import './rxjs-extensions';
import { AppComponent } from './app.component';
import { AppRoutingModule } from './app-routing.module';

import { ShareServiceModule } from './share/share-service.module';

import { PreloadSelectedModulesService } from './selective-preload-strategy';




@NgModule({
    imports: [
        BrowserModule,
        ShareServiceModule.forRoot(),
        AppRoutingModule
    ],
    declarations: [
        AppComponent
    ],
    providers: [PreloadSelectedModulesService],
    bootstrap: [AppComponent]
})
export class AppModule { }
